package com.ljf.finance.service;

import com.ljf.common.exception.ServiceException;
import com.ljf.common.result.ServiceResultModel;
import com.ljf.common.service.IBasisService;
import com.ljf.finance.dto.command.FinanceDatVirtualAccountCommand;
import com.ljf.finance.dto.query.FinanceDatVirtualAccountQuery;
import com.ljf.finance.vo.FinanceDatVirtualAccountVO;

/**
 * 虚拟账户定义  服务接口定义
 * 
 * @author LJF
 * @since 2024-02-09
 */
public interface IFinanceDatVirtualAccountService extends IBasisService<FinanceDatVirtualAccountQuery, FinanceDatVirtualAccountVO, FinanceDatVirtualAccountCommand> {

    /**
     * 常用账户查询
     *
     * @param query
     * @return
     * @throws ServiceException
     */
    ServiceResultModel<FinanceDatVirtualAccountVO> queryCommonUsed(FinanceDatVirtualAccountQuery query) throws ServiceException;

}
